package top.zlcode.friend.domain.question;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.zlcode.common.core.domain.BaseEntity;

/**
 * 用户收藏题目对象 tb_user_favorite_question
 * 
 * @author zlcode
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_user_favorite_question")
public class UserFavoriteQuestion extends BaseEntity {

    /** 主键ID */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /** 用户ID */
    private Long userId;

    /** 题目ID */
    private Long questionId;
}
